package com.study.common.register;

import java.util.List;

/**
 * Created by zhangbo on 2020/5/30.
 */
public interface IServiceRegister {

    /**
     * 服务注册
     *
     * @param path
     * @param registerInfo
     * @return
     */
    public boolean register(String path, byte[] registerInfo);

    /**
     * 更新注册信息
     *
     * @param path
     * @param registerInfo
     * @return
     */
    public boolean updateRegister(String path, byte[] registerInfo);

    /**
     * 获取注册信息
     *
     * @param path
     * @return
     */
    public byte[] getRegisterInfo(String path);


    public List<String> getRegisterPathInfo(String path);


    public boolean deleteRegisterPathInfo(String path);

}
